package com.mydesignpattern.beijing.decorator.wall;

import com.mydesignpattern.beijing.decorator.House;

public class WaterPaint implements House {
    private House house;

    public WaterPaint(House hosue){
        this.house = hosue;
    }

    @Override
    public int countPrice() {
        return 5 + house.countPrice();
    }
}
